package fields;
import game.Player;

public abstract class Field {

	private String name;
	protected int fieldNumber;
	
	public Field(int number, String name){
		/* Dette er konstrukt�oeren. Denne skal man bruge, saa man
		 kan lave et objekt.
		 */
		this.name = name;
		fieldNumber=number;
		}
	
	public abstract void landOnField(Player sp);
	
	public abstract String fieldInfo(Player p);
	
	public int getNumber()
	{
		return fieldNumber;
	}
	
	public String getName() {
		return name;
	}
	
	public String toString()
	{
		String str=fieldNumber+" "+name;
		return str;
	}
	
}